//
//  userData.h
//  扫码
//
//  Created by 鲍志刚 on 16/4/5.
//  Copyright © 2016年 鲍志刚. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface UserData : NSObject

/*
 {"id":61,"number":"qaxc","createTime":"2016-04-01 11:20:04","random":"891706","type":1}
 
 */

@property (nonatomic, assign) NSInteger id;

@property (nonatomic, assign) NSInteger *number;

@property (nonatomic, copy) NSString *createTime;

@property (nonatomic, copy) NSString *random;

@property (nonatomic, assign) NSInteger type;

@property (nonatomic, copy) NSString *city;


+ (instancetype)datasWithDict:(NSDictionary *)dic;

+ (void)datasWithURL:(NSString *)strUrl successBlock:(void(^)(NSArray *array))successBlock errorBlock:(void(^)(NSError *e))errorBlock;




@end
